/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */
package com.excesys.exsecs.om.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 巡检区域与事项关联表表
 *
 */
@Data
@TableName("om_inspection_result")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "巡检区域事项结果记录表")
public class OmInspectionResult  extends Model<OmInspectionResult> {

	/**
	 * 主键
	 */
	@TableId(type = IdType.AUTO)
	@Schema(description = "主键")
	private Integer id;

	/**
	 * 区域编码
	 */
	@Schema(description = "区域编码")
	private String inspectionId;

	/**
	 * 点位编码
	 */
	@Schema(description = "点位编码")
	private String pointCode;

	/**
	 * 巡检单号
	 */
	@Schema(description = "巡检单号")
	private String inspectionSheetId;

	/**
	 * 区域巡检项
	 */
	@Schema(description = "区域巡检项")
	private String inspectionAreaClassification;

	/**
	 * 巡检结果
	 */
	@Schema(description = "巡检结果")
	private String inspectionValue;

	/**
	 * 设备状态
	 */
	@Schema(description = "设备状态")
	private String equipmentStatus;

	/**
	 * 备注
	 */
	@Schema(description = "备注")
	private String remarks;

	/**
	 * 是否提交
	 */
	@Schema(description = "是否提交标识")
	private String flag;

	/**
	 * NFC识别成功时间
	 */
	@Schema(description = "NFC识别成功时间")
	private String nfcTime;

	/**
	 * 路线id
	 */
	@Schema(description = "路线id")
	private String irId;

	/**
	 * 路线名称
	 */
	@Schema(description = "路线名称")
	private String routeName;

	/**
	 * 巡检人
	 */
	@Schema(description = "巡检人")
	private String checkUserName;

	/**
	 * 创建人
	 */
	@TableField(fill = FieldFill.INSERT)
	@Schema(description="创建人")
	private String createBy;

	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	@Schema(description="创建时间")
	private LocalDateTime createTime;

	/**
	 * 更新人
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	@Schema(description="更新人")
	private String updateBy;

	/**
	 * 更新时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	@Schema(description="更新时间")
	private LocalDateTime updateTime;


}
